package com.yf.action;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName AuthAction
 * @Description TODO
 * @Author yf
 * @Date 2018/10/15 15:00
 * @Version 1.0
 */
@RestController
public class AuthAction {
    private static final Logger LOGGER= LoggerFactory.getLogger(AuthAction.class);

    @RequestMapping("index")
    public String index(){
        LOGGER.info("index 执行了");
        return "success";
    }

}
